#ifndef BITMAP_TEXT_OBJECT
#define BITMAP_TEXT_OBJECT

#include "BaseObject.h"

class BitmapTextObject: public BaseObject2D
{
protected:
	char m_szText[128];
	float m_fScale;
	int m_nFontID;
	D3DXVECTOR3 m_vColor;
public:

	BitmapTextObject();
	virtual void Update(float _dt);
	virtual void Render();
	virtual ~BitmapTextObject();

	void SetText(int nFontID, char* szText, D3DXVECTOR2 vPos = D3DXVECTOR2(0.0f,0.0f), float fScale = 1.0f,D3DXVECTOR3 vColor = D3DXVECTOR3(255,255,255));
	inline int GetFontID() { return m_nFontID; }
};

#endif